


#define PUNISH_MISC 1
#define PUNISH_

void update_moving_adverage(int in_average, int out_average);
void advertise_punishment(int punishment_id, char* ip_address, int portnum, int punish_reason);
void update_punishment(int punishment_id, char* ip_address, int portnum, int punish_reason);
void relieve_punishment(int punishment_id, char* ip_address, int portnum, int punish_reason);